package com.it.myd.bean.box.world;

import java.util.Random;

public class Position {
    private double inLeft;
    private double inTop;
    private double goLeft;
    private double goTop;
    private double toLeft;
    private double toTop;


    public Position(){
        Random random = new Random();
        int top = random.nextInt(300)+50;
        int left = random.nextInt(600)+50;
        inTop = top;
        inLeft = left;
    }

    public double getInLeft() {
        return inLeft;
    }

    public void setInLeft(double inLeft) {
        this.inLeft = inLeft;
    }

    public double getInTop() {
        return inTop;
    }

    public void setInTop(double inTop) {
        this.inTop = inTop;
    }

    public double getGoLeft() {
        return goLeft;
    }

    public void setGoLeft(double goLeft) {
        this.goLeft = goLeft;
    }

    public double getGoTop() {
        return goTop;
    }

    public void setGoTop(double goTop) {
        this.goTop = goTop;
    }

    public double getToLeft() {
        return toLeft;
    }

    public void setToLeft(double toLeft) {
        this.toLeft = toLeft;
    }

    public double getToTop() {
        return toTop;
    }

    public void setToTop(double toTop) {
        this.toTop = toTop;
    }
}
